I have one table with data about attendance into some events. I have in the table the data of the attendance everytime the user sends new attendance, the information is like
SELECT id_branch_channel, id_member, attendance, timestamp, id_member
FROM (select * from view_event_attendance order by timestamp desc) as whatever
WHERE id_event = 782
GROUP BY id_event,id_member;
EDIT: This may yield better performance:
SELECT *
FROM (SELECT id_branch_channel, id_member, attendance, timestamp, id_member
FROM view_event_attendance
WHERE id_event = 782
ORDER BY timestamp desc
) as whatever
GROUP BY id_event,id_member;
As long as the result-set can fit into the Innodb_buffer_pool, you will not see a significant performance drop.