Say I have a table with just a clustered index on the Id column.
If I have this statement in a stored procedure:

select count(*)
from myTable
where Id = @myId and
(@param is null or
column1 = @param)

will column1 be fetched even if @param is null during execution?

Thanks in advance for answers.