SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Aachen{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Aachen{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCountry = 'Aachen') AND (prLocation LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}/{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}/{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCountry = '/') AND (prLocation LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Mitte{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCity = 'Mitte' OR prZip = 'Mitte' OR prStreet LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Mitte{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCountry = 'Mitte') AND (prLocation LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Germany{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}Germany{1440175f546ea5d84db29f69cb5ca797d72b767e7bee6871f397a9555e1ef3ba}' OR prCountry = 'Germany')