SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}Kamp-Lintfort{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}' OR prCity = 'Kamp-Lintfort' OR prZip = 'Kamp-Lintfort' OR prStreet LIKE '{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}Kamp-Lintfort{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}' OR prCountry = 'Kamp-Lintfort') AND (prLocation LIKE '{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}Germany{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}Germany{a18b919ac3e1291ab80904abcc6bf4a5b950fecf1ce2f75844cc6f6d4ed7a597}' OR prCountry = 'Germany')