QUERY PLAN
Sort (cost=16.82..16.87 rows=20 width=64)
Sort Key: sales_date, created_at
-> Seq Scan on tbl_sales_order_item_renew_logs (cost=0.00..16.39 rows=20 width=64)
Filter: (sales_order_item_id = ANY ('{13083,5125,5079,2232,2231,2230,2229,2228,2227,2226,2225,2224,2223,2222,2221,2220,2219,2218,2217,2216}'::integer[]))