Use separate set and expire statements to support older redis versions