QUERY PLAN
Unique (cost=48.07..48.12 rows=10 width=4)
-> Sort (cost=48.07..48.10 rows=10 width=4)
Sort Key: s.created_by
-> Hash Join (cost=35.62..47.91 rows=10 width=4)
Hash Cond: (s.id = ccr.schedule_id)
-> Seq Scan on tbl_schedules s (cost=0.00..11.60 rows=160 width=8)
-> Hash (cost=35.50..35.50 rows=10 width=4)
-> Seq Scan on tbl_schedule_carbon_copy_rels ccr (cost=0.00..35.50 rows=10 width=4)
Filter: (user_id = 5495)