SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}Gaimersheim{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}' OR prCity = 'Gaimersheim' OR prZip = 'Gaimersheim' OR prStreet LIKE '{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}Gaimersheim{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}' OR prCountry = 'Gaimersheim') AND (prLocation LIKE '{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}Germany{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}Germany{5ae0f1fcab9119a5631664b0562b9a3a1b54fe9f51a5b9d24c4ce5355abfb347}' OR prCountry = 'Germany')