SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Eppingen{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCity = 'Eppingen' OR prZip = 'Eppingen' OR prStreet LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Eppingen{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCountry = 'Eppingen') AND (prLocation LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}/{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}/{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCountry = '/') AND (prLocation LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Kleingartach{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCity = 'Kleingartach' OR prZip = 'Kleingartach' OR prStreet LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Kleingartach{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCountry = 'Kleingartach') AND (prLocation LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Germany{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}Germany{a9357b470b8408fc51f6076920663bcb0cca35f772817f377159236ca3e6b54e}' OR prCountry = 'Germany')