QUERY PLAN
Sort (cost=31.48..31.56 rows=34 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_verify_rels (cost=0.00..30.61 rows=34 width=56)
Filter: ((status <> 0) AND (erp_other_payment_ticket_id = ANY ('{8,7,6,5,2,4,1}'::integer[])))