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