QUERY PLAN
Seq Scan on tbl_purchase_invoice_reminders (cost=0.00..1.46 rows=10 width=12)
Filter: (purchase_invoice_id = ANY ('{2439,2438,2437,2436,2435,2434,2433,2432,2431,2430,2429,2428,2427,2426,2425,2423,2422,2421,2420,2418}'::integer[]))