split expires into new expires and index_until