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