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