Registering marriage in another state

I am a NRI residing in US. For processing dependent visa purpose without doing regular social marriage, on acceptance by both of our families marriage is registered in chennai on feb 2020. Later due to covid and misunderstandings between the girl and me as well among elders marriage has been called off. By march 2021 we both agreed to file for mutual consent divorce to set us free to marry someone else. Due to lockdowns and delay by the girl's family only in aug 2021 case has been filed ( still lawyer didn't share the case number ). Also he told like we can request for video conferencing in the first hearing since am here and not sure on when this case will end. Meanwhile few months back we started looking for some other alliance and found a girl residing in Chittor, Andhra pradesh. We are planning to getting married, I would like to know if we marry and do a registration in Chittor, Andhra pradesh before getting divorce order for the earlier legal marriage will it create any problem, like the sub-registrar in Chittor will provide marriage certificate only after verifying with my ID's back in Tamilnadu ( Chennai ) as my residential address is in Chennai ? As the girl's family from first legal marriage won't be giving any trouble to us even if they know about my marriage. Please provide suggestion as myself and my family are mentally suffering a lot.