What is the easiest way to see the MySQL queries run by a CiviCRM page?
If you want to see everything, you can enable MySQL logging as follows (don't do this on production!): 


From the mysql console (or within an application like MySQL Workbench), run: 

SET global general_log = 1;
SET global log_output = 'table';

Look at all queries run within the last 15 seconds 

select * 
from mysql.general_log 
where 
  command_type = 'Query' and 
  event_time &gt; now() - interval 15 second;

Try to find queries on the civicrm_contact table 

select * from mysql.general_log 
where 
  argument like '%civicrm_contact%' and 
  argument not like '%general_log%' 
order by event_time desc;

Clear the log 

truncate table mysql.general_log; 

Turn off logging 

SET global general_log = 0;