SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}Borsdorf{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}' OR prCity = 'Borsdorf' OR prZip = 'Borsdorf' OR prStreet LIKE '{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}Borsdorf{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}' OR prCountry = 'Borsdorf') AND (prLocation LIKE '{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}Germany{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}Germany{10cfb6f6cfebc3a919b4a9674c58267ef4184bdd6d3e4a1c72876f4b4335a506}' OR prCountry = 'Germany')