On most layovers you do not go through customs. Customs normally happens once, at your final destination. The main exception is when your layover is your first point of entry into a country, most notably the United States and Canada, where you clear immigration and customs at the connecting airport before continuing.
For a typical international connection on a single ticket, you stay in the secure transit area, your checked bags are tagged through, and you clear customs only when you arrive at your final destination. You usually will not see a customs hall at all on the layover.
There are a few situations where a connection does involve customs:
These three get mixed up constantly. Immigration checks whether you are allowed to enter the country (passports and visas). Customs checks what you are bringing in (goods, declarations, duty). Security screens you and your bags for the flight. On a normal connection you may re-clear security but skip the other two until your destination.
Crew VIP gives airline staff member rates on lounges, hotels and transport in more than 6,000 cities, so the time between flights works for you, not against you.
Usually not. On a single ticket your bags are checked through and you clear customs at your final destination. The big exception is connecting through the United States or Canada, where you clear customs at the first point of entry.
Not on a normal single-ticket connection. You collect bags when you enter the US or Canada, when you are on separate tickets, or when you choose to leave the airport.
No. Immigration checks whether you can enter the country; customs checks what you are bringing in. They are separate checkpoints.
If you stay airside you normally keep your security clearance. If you leave the secure area or exit the airport, you screen again on the way back.