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