prune: introduce OPT_EXPIRY_DATE() and use it