CREATE INDEX `events_is_processed_ts_idx` ON `events` (`status`,`ts`);