QUERY PLAN
Sort (cost=8.17..8.18 rows=1 width=475)
Sort Key: id DESC
-> Index Scan using tbl_schedules_created_by_idx on tbl_schedules (cost=0.14..8.16 rows=1 width=475)
Index Cond: (created_by = 5495)