SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Grünheide{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCity = 'Grünheide' OR prZip = 'Grünheide' OR prStreet LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Grünheide{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCountry = 'Grünheide') AND (prLocation LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}OT{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCity = 'OT' OR prZip = 'OT' OR prStreet LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}OT{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCountry = 'OT') AND (prLocation LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Kagel{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCity = 'Kagel' OR prZip = 'Kagel' OR prStreet LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Kagel{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCountry = 'Kagel') AND (prLocation LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Germany{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}Germany{fac5a09731128a18ceca77f12c6cc44d74a3c9b6859fcde7f1c0ccecfb0e372a}' OR prCountry = 'Germany')