4d N=1$$ \mathcal{N}=1 $$ from 6d N=10$$ \mathcal{N}=\left(1,0\right) $$ on a torus with fluxes