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