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