QUERY PLAN
Sort (cost=94.87..94.92 rows=21 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..94.41 rows=21 width=22)
Filter: (sales_invoice_id = ANY ('{2244,2249,2250,2251,2252,2256,2258,2259,2262,2264,2268,2278,2279,2281,2288,2289,2293,2296,2297,2298}'::integer[]))