bad advice, storing table data in HEAP/Memory tables - will kill all your RAM
You can use PHP cache but need to install new module, U can use also PHP Smarty Engine, or any other template engine, what support caching. So kind of cache is very easy to understand and organise by yourself. U need just STORE this data in files. so before query database you are checking directory - if there are so FILE with data with so query ID - if yeah, you put data from THIS FILE not from DB - if nope you query DB. You can also use TTL Expire for you own maden cache. E.g. if current time subtract file created date and the given number more than TTL expire time, then this cache EXPIRED and you need to query database again.