Spotting Clusters, Hunting For Planets: A Combined Study Of Galaxy Clusters In The X-Ray And Optical Regime