QUERY PLAN
Sort (cost=11.19..11.20 rows=1 width=212)
Sort Key: verify_at DESC
-> Seq Scan on tbl_punch_leaves (cost=0.00..11.18 rows=1 width=212)
Filter: ((leave_start <= '2026-05-30'::date) AND (leave_end >= '2026-05-30'::date) AND (status = ANY ('{2,5}'::integer[])) AND (created_by = 1000))