SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}Ormont{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}' OR prCity = 'Ormont' OR prZip = 'Ormont' OR prStreet LIKE '{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}Ormont{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}' OR prCountry = 'Ormont') AND (prLocation LIKE '{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}Germany{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}Germany{17d80bcff667317d72e24269c9dbfa29b68b27dadd91e61be6065ba99e4ff57e}' OR prCountry = 'Germany')