Koppel die met enkele OR-statements:
SELECT *
FROM
Customer c
WHERE
example@sqldat.com
AND ( example@sqldat.com OR @CountyID IS NULL )
AND ( example@sqldat.com OR @CityID IS NULL )
Als het voor elk van deze parameters null is, wordt de controle in principe genegeerd.