MySQL Settings for Apostrophe Query in MySQL 5.6