I also had the same issue, I had an i7 2600 and RX 570. Its the GTA servers, they cant handle the amount of players, I upgraded to a Ryzen 5 1600x, the issue was still there, just accept it and play in a solo lobby. There isnt anything you can do about it