A plain EXPLAIN only shows the planner’s guess. In PostgreSQL I add the options that show what really happened.
BEGIN;
EXPLAIN (ANALYZE, BUFFERS) UPDATE orders SET paid = true WHERE id = 42;
ROLLBACK;
ANALYZE runs the statement and prints the real row counts and timings next to the estimates. BUFFERS adds how many pages came from cache (shared hit) and how many had to be read from disk. Big gaps between estimated and actual rows usually point at stale statistics, which ANALYZE tablename fixes.
Because the statement is really executed, an UPDATE or DELETE changes data. Wrap it in BEGIN and ROLLBACK as above when you only want the plan.
Further reading: PostgreSQL documentation: EXPLAIN