SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}Tourrettes-sur-loup{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}' OR prCity = 'Tourrettes-sur-loup' OR prZip = 'Tourrettes-sur-loup' OR prStreet LIKE '{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}Tourrettes-sur-loup{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}' OR prCountry = 'Tourrettes-sur-loup') AND (prLocation LIKE '{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}France{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}' OR prCity = 'France' OR prZip = 'France' OR prStreet LIKE '{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}France{1b7948e9e2427c6d19c19b56b7ae1e5fd469467da4d1963a8afd1ec45f79416b}' OR prCountry = 'France')