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