QUERY PLAN
Sort (cost=14.88..14.88 rows=2 width=26)
Sort Key: id
-> Bitmap Heap Scan on tbl_sales_contract_invoices (cost=8.58..14.87 rows=2 width=26)
Recheck Cond: (contract_id = ANY ('{184,195}'::integer[]))
-> Bitmap Index Scan on tbl_sales_contract_invoices_contract_id_idx (cost=0.00..8.58 rows=2 width=0)
Index Cond: (contract_id = ANY ('{184,195}'::integer[]))