Mysql Escape Single Quote Python