SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'c6a71898393689b0e39bd6f7270398ae165cfb586fc2d5a080f3953b19231768' 
  AND token = 'j+SRrO6wCfj/5GqWolBtPYdmf8DCapLk2QSd39sinhU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00011

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}