Change of spark plugs after two years

Hello, My wife has the Toyota Proace City, EZ 30.07.2021, gasoline, automatic, 130 hp, current mileage 18,000 km. The vehicle was just for the 2nd inspection and the spark plugs were changed. According to the maintenance book, these should be changed after 40,000 km or after four years. However, the workshop said that it is now about the 40,000 km maintenance and that they are to be changed accordingly. Spark plugs every 2 years therefore incomprehensible for me. Who knows more? Can someone give me the Ser send viceplan whether these really become due for every second inspection? Another Toyota workshop says that the time value has to be taken into account here or the mileage, depending on what happens before. Add to the list from the maintenance book. Thank you.