SELECT 
  cscart_discussion_posts.*, 
  cscart_discussion_messages.message 
FROM 
  cscart_discussion_posts 
  LEFT JOIN cscart_discussion_messages ON cscart_discussion_messages.post_id = cscart_discussion_posts.post_id 
WHERE 
  cscart_discussion_posts.thread_id = 6477 
  AND cscart_discussion_messages.message <> '' 
  AND cscart_discussion_posts.status = 'A' 
ORDER BY 
  cscart_discussion_posts.timestamp DESC 
LIMIT 
  0, 10

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.0051722,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "cscart_discussion_posts.`timestamp` desc",
            "table": {
              "table_name": "cscart_discussion_posts",
              "access_type": "ref",
              "possible_keys": ["PRIMARY", "thread_id", "thread_id_2"],
              "key": "thread_id",
              "key_length": "3",
              "used_key_parts": ["thread_id"],
              "ref": ["const"],
              "loops": 1,
              "rows": 1,
              "cost": 0.00345856,
              "filtered": 100,
              "attached_condition": "cscart_discussion_posts.thread_id <=> 6477 and cscart_discussion_posts.`status` = 'A'"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "cscart_discussion_messages",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["post_id"],
          "ref": ["u985510652_ecartify_dev.cscart_discussion_posts.post_id"],
          "loops": 1,
          "rows": 1,
          "cost": 0.00171364,
          "filtered": 100,
          "attached_condition": "cscart_discussion_messages.message <> ''"
        }
      }
    ]
  }
}