QUERY PLAN
Sort (cost=94.96..95.02 rows=24 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..94.41 rows=24 width=22)
Filter: (sales_invoice_id = ANY ('{2270,2277,2280,2283,2290,2292,2294,2295,2299,2302,2303,2304,2305,2306,2308,2309,2310,2311,2312,2314}'::integer[]))