QUERY PLAN
Sort (cost=48.67..48.68 rows=5 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..48.61 rows=5 width=22)
Filter: (sales_invoice_id = ANY ('{1142,1285,1377,1600,1739}'::integer[]))