SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}Schöneiche{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}' OR prCity = 'Schöneiche' OR prZip = 'Schöneiche' OR prStreet LIKE '{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}Schöneiche{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}' OR prCountry = 'Schöneiche') AND (prLocation LIKE '{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}Germany{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}Germany{319268c6235bb6b86853ae4c76335cf6c6bc06d1834ce90bc07cd09ab19d6360}' OR prCountry = 'Germany')