It would be nice if we could also set max width here, but the fact that we need to put adjustbox within the equation environment and it could be align etc. and we don't know which, makes this difficult.