QUERY PLAN
Sort (cost=12.13..12.16 rows=10 width=64)
Sort Key: sales_date, created_at
-> Seq Scan on tbl_sales_order_item_renew_logs (cost=0.00..11.96 rows=10 width=64)
Filter: (sales_order_item_id = ANY ('{4344,4343,4342,4341,4340,4339,4338,4337,4336,4335}'::integer[]))