SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Hagen{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCity = 'Hagen' OR prZip = 'Hagen' OR prStreet LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Hagen{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCountry = 'Hagen') AND (prLocation LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}/{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}/{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCountry = '/') AND (prLocation LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Vorhalle{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCity = 'Vorhalle' OR prZip = 'Vorhalle' OR prStreet LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Vorhalle{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCountry = 'Vorhalle') AND (prLocation LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Germany{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}Germany{77199050bb03e8353853f49633f61ca1662fc9697e7817b14d28d442eadb9901}' OR prCountry = 'Germany')