Rank by total impact, not only one slow execution
A query that is moderately slow and called constantly may matter more than a rare outlier.
SELECT query, calls, total_exec_time, mean_exec_time, rows
FROM pg_stat_statements
ORDER BY total_exec_time DESC
LIMIT 20;