QUERY PLAN
Seq Scan on tbl_erp_advance_payment_tickets (cost=0.00..1.04 rows=1 width=65)
Filter: ((id = 4) AND (status = 2))