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