QUERY PLAN
Sort (cost=54.82..54.83 rows=4 width=26)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..54.78 rows=4 width=26)
Filter: (contract_id = ANY ('{4426,4433,4257,4388}'::integer[]))