don’t use http://domain.com in any links anywhere to start with. rather only use https://www.domain.com in the first place. the redirect(s) are only a fallback for the first time someone might enter this without s and www. so you are trying to optimize on a problem that isn’t there, unless you reference your assets wrong.
of course you can use a single rewrite instead of two, to always redirect to https://www. in the first place, but as said above, that’s in the end not what you should worry about. there is nothing more to optimize about a redirect to deal with “wrong” urls.