We spent about 7 or 8 years wintering in southern Spain. Malaga, Torremolinos, Nerja, Almunecar and everywhere in between.
It took us about three years to figure out the local eating schedule.
Breakfast is about 8-9am and anything with a lot of food is usually a tourist meal. The Spanish live on air, coffee and cigarettes.... if they're feeling hungry in the morning, they'll have a pastry.
Restaurants will seldom stay open beyond noon and won't open until six. If you're hungry at 3 or 4 pm? It's better to starve.
Any restaurant that opens at 6 is a tourist place that sells a lot of basic fast food stuff.
The good local restaurants start opening at 8 pm and local families start arriving to eat at about 9 pm. The entire family, three or four generations of them will take up entire tables and sit around eating drinking and talking until about 10-11 and a few until about midnight.
They eat solidly about one good meal a day and snack the rest of the time with plenty of coffee, pastries or cookies but never to excess.
It's why you will seldom find an overweight Spanish person of any age. They eat little and constantly move all day.
I miss that place and wish we were there right now.