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