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