SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Berlin{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Berlin{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCountry = 'Berlin') AND (prLocation LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}/{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}/{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCountry = '/') AND (prLocation LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Müggelheim{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCity = 'Müggelheim' OR prZip = 'Müggelheim' OR prStreet LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Müggelheim{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCountry = 'Müggelheim') AND (prLocation LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Germany{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}Germany{8c35e8dad5987130838ed5efb7fb28d4a97f988c8dae183ea2ae80511f81ac0e}' OR prCountry = 'Germany')