SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}Friedland{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}' OR prCity = 'Friedland' OR prZip = 'Friedland' OR prStreet LIKE '{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}Friedland{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}' OR prCountry = 'Friedland') AND (prLocation LIKE '{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}Germany{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}Germany{9c17756e8f93e3b7be0e098f70a26494038623b6c87b813a238e99b346b20d78}' OR prCountry = 'Germany')