QUERY PLAN
Aggregate (cost=1.14..1.15 rows=1 width=32)
-> Seq Scan on tbl_erp_purchase_gifts t (cost=0.00..1.14 rows=1 width=32)
Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2))