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