Query failed:
SELECT 
                    ep_sticky.value AS orderkey,

                    e.id,
                    e.title,
                    e.timestamp,
                    e.comments,
                    e.exflag,
                    e.authorid,
                    e.trackbacks,
                    e.isdraft,
                    e.allow_comments,
                    e.last_modified,

                    a.realname AS author,
                    a.username AS loginname,
                    a.email
                     , e.body, e.extended
                     
                FROM
                    tb_entries AS e
                    LEFT JOIN tb_authors a
                        ON e.authorid = a.authorid
                    LEFT JOIN tb_entrycat ec
                        ON e.id = ec.entryid
                    LEFT JOIN tb_category c
                        ON ec.categoryid = c.categoryid
                     LEFT OUTER JOIN tb_entryproperties ep_access
                                              ON (e.id = ep_access.entryid AND ep_access.property = 'ep_access')
 LEFT JOIN tb_entryproperties ep_sticky
                                            ON (e.id = ep_sticky.entryid AND ep_sticky.property = 'ep_is_sticky')
                    WHERE isdraft = 'false' AND (( (c.category_left  BETWEEN 2 AND 3))) AND e.timestamp <= 1409640300 AND  (ep_access.property IS NULL OR ep_access.value = 'public') 
                     GROUP BY e.id
                     
                     ORDER BY orderkey DESC, timestamp DESC
                      LIMIT 25
/ Incorrect key file for table '/tmp/#sql_6c4_2.MYI'; try to repair it