DNN-4316 Optimize Procedure GetFolderPermissionsByPortal
added turbosql suggestion - also fixed issue with someones previous checkin that missed a GO