SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '329513c97c2bef89ed9f823b6cdc7bdd2d96575de5935463946c941769a17bc0' 
  AND token = 'u9cY3rtlOsKPot9dzpEztG2DpZRyPVTTOsrfjLizu64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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