QUERY PLAN
Sort (cost=57.35..57.37 rows=9 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..57.21 rows=9 width=22)
Filter: (sales_invoice_id = ANY ('{96,571,893,2320,2322,2323}'::integer[]))