Andy Murray's comeback hit a bump in the road when he lost to German Florian Mayer in the second round of the Qatar Open.