Ideally, your bedside table should sit 5-10 cm below the top of your mattress....
https://amumreviews.co.uk/should-bedside-tables-be-higher-than-the-bed/
Ideally, your bedside table should sit 5-10 cm below the top of your mattress. This makes grabbing a glass of water or your phone effortless while lying down