Do not lookup key if key is expired

fixes https://github.com/antirez/redis/issues/1768