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