QUERY PLAN
Seq Scan on tbl_schedule_head_of_rels (cost=0.00..293.73 rows=3 width=12)
Filter: (schedule_id = ANY ('{17939,18166,18110}'::integer[]))