Alphabet's Q1 earnings beat expectations, driving its stock to a record high, as a US-Iran ceasefire announcement eased market concerns.