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