QUERY PLAN
Sort (cost=1059.83..1059.93 rows=40 width=99)
Sort Key: created_at DESC
-> Seq Scan on tbl_schedule_descriptions (cost=0.00..1058.77 rows=40 width=99)
Filter: (schedule_id = ANY ('{18357,18356,13229,13228,13230,12882,12780,12739,12122,10720,10686,10166,10164,9902,9869,9716,9673,9520,9461,9418}'::integer[]))