SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}Xanten{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}' OR prCity = 'Xanten' OR prZip = 'Xanten' OR prStreet LIKE '{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}Xanten{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}' OR prCountry = 'Xanten') AND (prLocation LIKE '{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}Germany{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}Germany{6f4609ef71d693021d3528f7d9c4de8090e65ed7a4b0b6fd56b3acd6d3129ebc}' OR prCountry = 'Germany')