Llodra missed a chance to level at 2-2 in the third set, wasting two break points with unforced errors.
The 13th-seeded Ferrero never looked troubled after that. The Spaniard won the match with a lob after drawing Llodra to the net with a drop shot.
Kuerten saved two match points but then hit a forehand long when retrieving a pass down the line.
"I wish I could play longer, but Ivan was playing really well," said Kuerten, who retires at the end of the season. "Now I can go home and rest and think back on my matches. It's nice to remember everything that happened in the past."
Ljubicic praised Kuerten's contribution to tennis.
"Most players play to win, but he did it for the love," said Ljubicic, who is 2-5 against Kuerten. "The passion he put into the sport was unbelievable."
Murray hopes that having two-time French Open finalist Alex Corretja as a clay-court coach will improve his play on the surface. The French Open begins May 26.
"The first thing you need to work on is the patience, and I did that today," Murray said. "Today I didn't play all that aggressive. I was trying to keep the ball high and deep."
Also, No. 16 Philipp Kohlschreiber of Germany beat Jose Acasuso of Argentina 7-6 (4), 6-3 to set up a match with Nicolas Kiefer, and Robin Soderling wasted three match points before outlasting Radek Stepanek of the Czech Republic 6-4, 6-7 (6), 6-3.