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