SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '2b74e028d8aeb1cc6c9d6e90c24d9ba7dbff2d13cea2c16cd4812dc61193341b' 
  AND token = 'q8WTuP+MdZMi0GYrTqdmEY3kd/9VHELM6cfllQn3ySU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00010

JSON explain

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