Optimized framework for slip flow of viscous fluid towards a curved surface with viscous dissipation and Joule heating features