SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Bonn{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCity = 'Bonn' OR prZip = 'Bonn' OR prStreet LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Bonn{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCountry = 'Bonn') AND (prLocation LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}/{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}/{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCountry = '/') AND (prLocation LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Mehlem{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCity = 'Mehlem' OR prZip = 'Mehlem' OR prStreet LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Mehlem{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCountry = 'Mehlem') AND (prLocation LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Germany{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}Germany{b02e897f91fee5e76fc464c95206c021070137e9b2276eb2ea3f53f001750722}' OR prCountry = 'Germany')