I would think it is easier and cheaper to rent a car. The only flights are to Key West, yet the best diving is in Key Largo, barely an hour's drive (and a very easy one at that) from Miami.
As for laying on the beach, stay in Miami, the keys, particularly the upper keys, are not known for...