Despite seen it in different games, a scope on a handgun is ridiculous to me. Anyway, in weapon shops one can see various weapons on different surfaces out of reach that might not resemble guns you can craft. They serve as decoration. A pistol dropped on the ground by the player looks like some package (so as everything else). This tells me that what we see here is non-interactable.
But the closest to crafting it, is a pistol with the laser sight. Which pretty much does the same thing as the regular scope - increasing precision. And it also looks cooler than a scope.