For the biggest search engines it doesnt really matter.
www.buy-books-now.com
is just as good as
www.z6g4f.com/buy/books/now/buy-books-now.html
BUT , that being said, with domains so cheap , if you nail a good spot, it sure helps the surfer decide if the domain clearly matches the words.. ( common sense never hurts )