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