QUERY PLAN
Sort (cost=49.58..49.82 rows=97 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_payment_ticket_stop_verify_rels (cost=0.00..46.38 rows=97 width=56)
Filter: ((status <> 0) AND (erp_payment_ticket_id = ANY ('{2067,2066,2065,2064,2063,464,445,603,465,463,444,436,432,428,462,427,460,459,458,457}'::integer[])))