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