QUERY PLAN
Sort (cost=75.64..75.67 rows=10 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..75.48 rows=10 width=22)
Filter: (purchase_invoice_id = ANY ('{1323,1388,1389,1397,1425,1518,1687,1691,1727,1735}'::integer[]))