Faster cache lookup: Composite Primary Key in db and redundant SHA removed.