title: How to increase mysql query execution time
body: <p>I am using mysql database with <code>codeigniter</code> framework.<br>
  In that join more then 5 tables at a time. MySql query is fine and it produce result correctly, but it's taking too much time to produce result approx <code>9-12 sec</code>. 
  How can I increase the execution time of query. </p>
  
  <pre><code>SELECT `questions`.* FROM `questions` LEFT JOIN `universities_questions` ON `questions`.`id` = `universities_questions`.`question_id` LEFT JOIN `courses_questions` ON `questions`.`id` = `courses_questions`.`question_id` LEFT JOIN `branches_questions` ON `questions`.`id` = `branches_questions`.`question_id` LEFT JOIN `subjects_questions` ON `questions`.`id` = `subjects_questions`.`question_id` LEFT JOIN `question_types_questions` ON `questions`.`id` = `question_types_questions`.`question_id` LEFT JOIN `questions_year` ON `questions`.`id` = `questions_year`.`question_id` WHERE `questions`.`status` = '1' GROUP BY `questions`.`id` ORDER BY `questions`.`id` DESC LIMIT 1
  </code></pre>