SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}Nieder-Ramstadt{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}' OR prCity = 'Nieder-Ramstadt' OR prZip = 'Nieder-Ramstadt' OR prStreet LIKE '{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}Nieder-Ramstadt{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}' OR prCountry = 'Nieder-Ramstadt') AND (prLocation LIKE '{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}Germany{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}Germany{171f2645712d1d8113d984801705d3ecc1e2fb3d24efa85d7a12e1eb8d3243a3}' OR prCountry = 'Germany')