SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Bad{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Bad{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCountry = 'Bad') AND (prLocation LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Herrenalb{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCity = 'Herrenalb' OR prZip = 'Herrenalb' OR prStreet LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Herrenalb{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCountry = 'Herrenalb') AND (prLocation LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Germany{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}Germany{f3cedd674a0966c74c203e029c2cd4135e63f5fcca957e43f58da7b9507eee0c}' OR prCountry = 'Germany')