Why does PCA work well while the total variance retained is small?
Because it selects both Xtrain and Xtest from the space of two selected principal components. Hence, the 90% accuracy is in that 2-D selected space. 

This fact that the ratio in PCA stands the information, depends on the distribution of the data and it's not true at all.