`SELECT ... WHERE match(key, '^prefix...')`
should use index similarly to
`SELECT ... WHERE key LIKE 'prefix%'`
}
                    if (!next_node)
                        is_valid_chain = false;
                    cur_node = next_node;
                }
                else if (cur_node->type == ActionsDAG::ActionType::ALIAS)
                    cur_node = cur_node->children.front();
                else
                    is_valid_chain = false;
            }
            if (is_valid_chain)
            {
                out_type = removeLowCardinality(out_type);
                auto const_type = removeLowCardinality(cur_node->result_type);
                auto const_column = out_type->createColumnConst(1, out_value);
                auto const_value = (*castColumnAccurateOrNull({const_column, out_type, ""}, const_type))[0];
                if (const_value.isNull())
                    return false;
                while (!chain.empty())
                {
                    const auto * func = chain.top();
                    chain.pop();
                    if (func->type != ActionsDAG::ActionType::FUNCTION)
                        continue;
                    if (func->children.size() == 1)
                    {
                        std::tie(const_value, const_type)
                            = applyFunctionForFieldOfUnknownType(func->function_base, const_type, const_value);
                    }
                    else if (func->children.size() == 2)