Modified mysql schema. Added cache-ttl param