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