How do I use a SMD crystal with 4 pins?
this is a nice question. Once for a project I stumbled upon this problem too. 

The way you described the connection should work perfectly fine. 


  To me it makes sense to connect it like this:
  Connect pins 9 and 10 from atmega --TO--> pins 1 and 3 from the crystal.
  Connect pins 2 and 4 from crystal --TO--> Ground
  Connect the 22pf ceramic capacitors to pins 1 and 3 from crystal and ground like in the first diagram.


Keep it going and greetings from Switzerland.