SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'f2d7c632238ab478d4472fc2ae34aca35c007c7d2a0d03c0fb3e085e29c1fdc3' 
  AND token = '/0yGfUodslZZni5fG1muvJhG5hGqxPXgm0sR+YNPsuI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00007

JSON explain

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