SELECT 
  o.user_id 
FROM 
  cscart_orders AS o 
  INNER JOIN cscart_order_details AS od ON o.order_id = od.order_id 
  AND od.product_id = 13332 
WHERE 
  o.user_id IN ('') 
  AND o.status IN ('C', 'D')

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "od",
          "access_type": "index",
          "possible_keys": ["o_k"],
          "key": "o_k",
          "key_length": "6",
          "used_key_parts": ["order_id", "product_id"],
          "rows": 32,
          "filtered": 100,
          "attached_condition": "od.product_id = 13332",
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "o",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "user_id", "status"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["order_id"],
          "ref": ["lillyshop_lillyshop.od.order_id"],
          "rows": 1,
          "filtered": 0.029645374,
          "attached_condition": "o.user_id = '' and o.`status` in ('C','D')"
        }
      }
    ]
  }
}