Why does this LED matrix have two 5V and GND pins?

Of course :slight_smile:

But in most HUB75 panels the both 5V pins are connected to the same point in parallel.