Les toilettes means the toilets or restroom facilities. French uses this feminine plural noun even for one facility. To say where you are going, combine à and les as aux: je vais aux toilettes. Do not say à les toilettes. The verb form remains je vais; aux supplies the preposition and definite article together.
Près de keeps its meaning near. Before the definite masculine le café, de + le must combine as du: près du café. Here café is the identified place, not the drink. This contracted du means de plus le; it differs from the partitive in du café, some coffee. Do not say près de le café.
Before the identified plural les tables, combine de + les as des: près des tables, near the tables. This is contracted des, not the indefinite des in some tables. Keep the noun’s written plural s. The same contraction gives près des toilettes.