QUERY PLAN
Sort (cost=11.27..11.28 rows=1 width=145)
Sort Key: verify_at DESC
-> Seq Scan on tbl_punch_leaves (cost=0.00..11.26 rows=1 width=145)
Filter: ((leave_start <= '2026-06-02'::date) AND (leave_end >= '2026-06-02'::date) AND (status = ANY ('{2,5}'::integer[])) AND (created_by = 1001))