Se você tiver um nome de coluna variável, precisará usar SQL Dinâmico :
set @strokes_hole_10 = 6;
set @x = 10;
set @strokes = concat('@strokes_hole_',@x); -- add @ to variable string
-- generate the query string
set @query_str = CONCAT('SELECT ', @strokes);
-- prepare statement using the query string
Prepare stmt From @query_str;
-- executes the prepared statement
Execute stmt;
-- clean up after execution
Deallocate Prepare stmt;
Resultado
| @strokes_hole_10 |
| ---------------- |
| 6 |
Visualizar no DB Fiddle