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