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