QUERY PLAN
Sort (cost=50.67..50.68 rows=2 width=29)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..50.66 rows=2 width=29)
Filter: (contract_id = ANY ('{4324,4323}'::integer[]))