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