SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Obertshausen{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCity = 'Obertshausen' OR prZip = 'Obertshausen' OR prStreet LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Obertshausen{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCountry = 'Obertshausen') AND (prLocation LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}/{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}/{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCountry = '/') AND (prLocation LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Hausen{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCity = 'Hausen' OR prZip = 'Hausen' OR prStreet LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Hausen{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCountry = 'Hausen') AND (prLocation LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Germany{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}Germany{d1289f0bdf5f124d4c210a061ea3552a74b3ac3537257e34d6be9a10bcaca6de}' OR prCountry = 'Germany')