R Kook explains what R Yochanan meant and the Maharal makes an exception for tefillah