QUERY PLAN
Sort (cost=57.30..57.32 rows=7 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..57.21 rows=7 width=22)
Filter: (sales_invoice_id = ANY ('{2306,2312,2315,2316,2317,2319}'::integer[]))