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