I have a table some_table like
some_table
+--------+----------+---------------------+-------+ | id | other_id | date_value | value | +--------
Probably this is the simplest way
SELECT id, other_id, date_value, value FROM some_table WHERE date_value in (SELECT MAX(date_value) from some_table GROUP BY other_id HAVING other_id in (1,2,3));
Test the above query here