In a pot, add the water, washed navy beans, 1 tablespoon of salt, and bay leaf. Bring the mixture to a boil. Reduce heat and simmer, stirring occasionally, until the beans are tender, but firm, about 40 minutes.
While the beans are cooking, mix the garlic powder, onion powder, oregano, basil, parsley, red pepper and the remaining salt. Set aside.
Add shrimp to the pot and bring back to boil for 1 minute, then reduce to a simmer until shrimp are cooked through, about 3 minutes. Remove from heat and strain.
Place shrimp and beans in a dish and stir in spice mixture. Cover and place in refrigerator to cool.
Once cold, add onions and tomatoes. Stir in olive oil, red wine vinegar and lemon juice. Serve over salad.