QUERY PLAN
Limit (cost=0.02..0.03 rows=1 width=313)
-> Sort (cost=0.02..0.03 rows=1 width=313)
Sort Key: s.is_draft DESC, s.end_at DESC, s.updated_at DESC
-> HashAggregate (cost=0.00..0.01 rows=1 width=313)
Group Key: s.id
-> Result (cost=0.00..0.00 rows=0 width=297)
One-Time Filter: false