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