CREATE INDEX IF NOT EXISTS ai_jobs_recent_status_idx ON ai_jobs (status, updated_at DESC, created_at DESC);