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