Add index on builds(id DESC, repository_id, event_type)