QUERY PLAN
Seq Scan on tbl_sales_contract_invoices (cost=0.00..49.65 rows=2 width=155)
Filter: (red_invoice_id = ANY ('{2326,2325}'::integer[]))