SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Bielefeld{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCity = 'Bielefeld' OR prZip = 'Bielefeld' OR prStreet LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Bielefeld{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCountry = 'Bielefeld') AND (prLocation LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}/{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}/{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCountry = '/') AND (prLocation LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Brake{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCity = 'Brake' OR prZip = 'Brake' OR prStreet LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Brake{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCountry = 'Brake') AND (prLocation LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Germany{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}Germany{bb9b3679c9444cdb6e493fb0949973888113b6dddd4f6715ae9eb5ffe40dc4a5}' OR prCountry = 'Germany')