store and compare more efficient floats
combine conditionals
use integers + guard against negative or 0 expires_in
return value will never be nil