Application of the Mattis-Bardeen theory in strongly disordered superconductors