Yes, it does affect but not at a large level. Having a targeted keyword in your domain name is a good sign of having an effective domain name.