SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Krefeld{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCity = 'Krefeld' OR prZip = 'Krefeld' OR prStreet LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Krefeld{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCountry = 'Krefeld') AND (prLocation LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}/{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}/{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCountry = '/') AND (prLocation LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Gellep-Stratum{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCity = 'Gellep-Stratum' OR prZip = 'Gellep-Stratum' OR prStreet LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Gellep-Stratum{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCountry = 'Gellep-Stratum') AND (prLocation LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Germany{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}Germany{cf553016047b2bbe3b01056305d22394be76e56dabd8595fc162c9f49d07b86c}' OR prCountry = 'Germany')