SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '018ca1d086f0b23cacae51bae328670e239bc25508f0aa8f6002301d285b0ddc' 
  AND token = 'm49RDswYTuZx9E5VLaJlGHeo76d6Ei99cSBaZxaBALE=' 
  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"
    }
  }
}