QUERY PLAN
Sort (cost=53.35..53.36 rows=3 width=26)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..53.33 rows=3 width=26)
Filter: (contract_id = ANY ('{4443,4450,4446}'::integer[]))