I looked into all of that years ago. If you are interested, this issue is written about in detail by theologians in almost every century. Millions of man hours have gone into issues such as this.
Regarding Mt 5:28, I think you have placed an interpretation on that passage that may not be warranted in all contexts. Walking down the street and looking at a woman and noticing her sexual beauty and being attracted to it is not, I don't think, sufficient to be "looking at a woman lustfully" within the meaning of that passage. Now, if I linger on her, and undress her in my mind and imagine what I might do to here...that may be looking at her lustfully. In the latter case, an act of the will was involved, which is required for sin. There are other issues involved in determining what is sinful and what is not, or what is mortal sin and what is venial sin, etc. It is not as simple as reciting a laundry list of prohibited acts.