Run EXPLAIN (FORMAT JSON) ... in Postgres or EXPLAIN FORMAT=JSON ... in MySQL and paste the result here.
EXPLAIN (FORMAT JSON) ...
EXPLAIN FORMAT=JSON ...
Paste your EXPLAIN JSON output and click visualize to see the execution tree.