Add indexes to Content module SQL, optimize