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