Does the services table only have one record per service? If so, then I don't think you need that extra query to get the selected option, because it's always going to return the same record as is already in $editService. If that's the case then to set $optionselected you'd just want:
PHP Code:
$optionselected = ($viewCountry['id'] == $editService['country']) ? 'selected="selected"' : '';
but to be honest I don't see why that would solve the problem.