add optimizations for mysql to 6.x->7.4 guide

Add mysql optimizations from 7.3-to-7.4.md.
Merge pull request #8072 from bbodenmiller/patch-12

[7.4 rc fix] [doc] add optimizations for mysql to 6.x->7.4 guide