QUERY PLAN
Aggregate (cost=8.16..8.17 rows=1 width=8)
-> Index Scan using tbl_schedules_created_by_idx on tbl_schedules (cost=0.14..8.16 rows=1 width=0)
Index Cond: (created_by = 5495)
Filter: (NOT is_complete)