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