QUERY PLAN
Sort (cost=38.37..38.52 rows=58 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_other_income_ticket_stop_verify_rels (cost=0.00..36.67 rows=58 width=56)
Filter: ((status <> 0) AND (erp_other_income_ticket_id = ANY ('{13,12,11,10,9,8,7,6,4,3,2,1}'::integer[])))