QUERY PLAN
Aggregate (cost=3.94..3.95 rows=1 width=32)
-> Seq Scan on tbl_erp_other_payment_tickets (cost=0.00..3.67 rows=52 width=10)
Filter: (status = 2)