title: Rewrite SQL query to remove GROUP BY
body: <p>I am having some trouble with my Database doing the following query:</p>
  
  <pre><code>SELECT * FROM main_cue 
  WHERE group_id IN %s
  GROUP BY group_id
  ORDER BY FIND_IN_SET(group_id, %s) LIMIT 25, 
   (ordered_group_ids, ordered_group_ids_as_csv)
  </code></pre>
  
  <p>I think it has to do with the <code>GROUP BY group_id</code> clause. Is there another more 'valid' way to do the above query?</p>