Wow. My first recording session I wanted to be like Steve Lukather, a "one take wonder". The first part we tried to record we moved on after take #26 to come back to it later. It was humbling, to say the least.

For just about everyone else in the planet, 3 takes and a punch-in is good going, and more than that is normal.
The parts that non-guitar players love are the simplest and cleanest. Don't overplay, don't go for flash if you don't need it. Relax and if everyone else thinks the take is good, feel free to move on. "Perfect" is enemy of "done". And don't worry too much about "tone". What sounds great in a full mix might sound thin or weird on its own. That's OK.
Time is money and that means efficiency is the name of the game. And THAT means preparation and practice. All the flashy guitar parts in the world mean nothing if the basic "boring" tracks are not spot on, so work on those. You should have your basic parts prepared note-for-note. Bring written notes if you have them or need them. Making things up as you go along and trying to get a great performance at the same time is the
exact opposite of efficiency. So don't do that unless the person paying for the studio time specifically asks you to.
Don't practice too hard the day or two before you go in. You can't risk tiring out your muscles before you get in the studio. And if your strings usually need a day or two to settle in and give best tuning stability, change them that many days before the recording. Read Jack Endino's "Tuning Nightmares", you can google it. Practice tuning if you have to. Make sure you have every cable and adapter and battery you will need and test them before you go.
And most importantly - be positive and helpful and kind and patient with everybody in the studio. Be the best team member you can. Know when to speak up and when to shut up. Sometimes the right thing to do when other people are trying to get their parts down is to give advice and helpful pointers. But sometimes it's to shut the F up, stay out of the way and bring coffee and water at the right moment.
Which brings me to the last tip - BUY ENOUGH COOKIES TO SHARE WITH EVERYONE DURING COFFEE BREAKS!
Enjoy!