QUERY PLAN
Sort (cost=53.43..53.44 rows=7 width=29)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..53.33 rows=7 width=29)
Filter: (contract_id = ANY ('{4455,3853,2148}'::integer[]))