Optimize the nested materialized view rewrite performance when exists many join This is brought by #33362