SELECT `id`, `name`, `ex_year_a`, `ex_year_b`, `ex_year_e` FROM `hqf_exam_settings` WHERE `pre_application` = 1 AND `status` = 'active' ORDER BY `id` DESC LIMIT 1