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