Hi
If your table has a unique identity columns as ID, you can use from bellow query:
Declare @RowID As BigInt
Set @RowID = Select Top 1 ColumnID
From TempTable
Where Column1='1' AND Column2='2'
UPDATE TempTable
WHERE ColumnID = @RowID
SET Column3 = '1'
I hope it's helpful for you.