QUERY PLAN
Sort (cost=1060.81..1060.91 rows=40 width=99)
Sort Key: created_at DESC
-> Seq Scan on tbl_schedule_descriptions (cost=0.00..1059.75 rows=40 width=99)
Filter: (schedule_id = ANY ('{18349,18347,18357,18340,18339,18335,18331,18338,18329,18328,11708,10790,10608,10121,8850,8848,8847,8838,8843,8828}'::integer[]))