SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Bonn{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCity = 'Bonn' OR prZip = 'Bonn' OR prStreet LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Bonn{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCountry = 'Bonn') AND (prLocation LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}/{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}/{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCountry = '/') AND (prLocation LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Zentrum{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCity = 'Zentrum' OR prZip = 'Zentrum' OR prStreet LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Zentrum{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCountry = 'Zentrum') AND (prLocation LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Germany{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}Germany{230f7e118ee8861547ccf0cfa3f84f79446260b8f55ae27eff90d56028147266}' OR prCountry = 'Germany')