Null check for options.optimized during MySQL configuration