SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Berlin{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Berlin{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCountry = 'Berlin') AND (prLocation LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}/{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}/{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCountry = '/') AND (prLocation LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Reinickendorf{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCity = 'Reinickendorf' OR prZip = 'Reinickendorf' OR prStreet LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Reinickendorf{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCountry = 'Reinickendorf') AND (prLocation LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Konradshöhe{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCity = 'Konradshöhe' OR prZip = 'Konradshöhe' OR prStreet LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Konradshöhe{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCountry = 'Konradshöhe') AND (prLocation LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Germany{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}Germany{1e5324652703ec76163a9f1251162ec39d743975492efc76d48352daf1c96b2b}' OR prCountry = 'Germany')