Raspberry Pi Zero 2 is the sweet spot these days for price/performance, but it's nowhere to by found in stock, sadly despite the fact it has LPDDR2 type of RAM
It's weird there's cheap and plentiful STM32 series things with physical ethernet ports (but they're very weak microcontrollers with little CPU or RAM) which do manage to have real ethernet ports on them...