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