QUERY PLAN
Sort (cost=30.62..30.63 rows=1 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_other_income_ticket_verify_rels (cost=0.00..30.61 rows=1 width=56)
Filter: ((status = 0) AND (erp_other_income_ticket_id = ANY ('{5,7,6,4,3,2,1}'::integer[])))