You can include the whole MVC path (controller and action) in the <location> tag’s path attribute. Something like this should work:
<location path="Images/Upload">
<system.web>
<httpRuntime executionTimeout="600" />
</system.web>
</location>