QUERY PLAN
Aggregate (cost=63.81..63.82 rows=1 width=32)
-> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..63.81 rows=1 width=6)
Filter: ((created_at >= '2025-08-05 17:19:26+08'::timestamp with time zone) AND (status = 2))