Template storage engine working with MySQL 5.6 (or higher)