Mysql Select Value From Array Python Declaration