QUERY PLAN
Sort (cost=91.14..91.17 rows=13 width=227)
Sort Key: id DESC
-> Seq Scan on tbl_erp_collect_tickets (cost=0.00..90.90 rows=13 width=227)
Filter: ((status = 2) AND (sales_contract_id = ANY ('{195,1186,1558,1755,1930,3364,3998,4024,4304,4388}'::integer[])))