Redis SQL cache solution for PHP