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