Python Match String In String Sql