QUERY PLAN
Aggregate (cost=1.57..1.58 rows=1 width=32)
-> Seq Scan on tbl_erp_other_payment_tickets (cost=0.00..1.41 rows=31 width=8)
Filter: (status = 2)