diff --git a/src/db.c b/src/db.c
index 16928aa0..3307cdee 100644
--- a/src/db.c
+++ b/src/db.c
@@ -467,8 +467,7 @@ void existsCommand(client *c) {
     int j;
 
     for (j = 1; j < c->argc; j++) {
-        expireIfNeeded(c->db,c->argv[j]);
-        if (dbExists(c->db,c->argv[j])) count++;
+        if (lookupKeyRead(c->db,c->argv[j])) count++;
     }
     addReplyLongLong(c,count);
 }