SELECT tbl_RestaurantsNL.* FROM tbl_RestaurantsNL WHERE tbl_RestaurantsNL.gebruikersnaam = 'restaurant-alexy's-leerdam' and tbl_RestaurantsNL.geactiveerd = '1'

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's-leerdam' and tbl_RestaurantsNL.geactiveerd = '1'' at line 1