SELECT 
  p.product_id 
FROM 
  tconnect_products as p 
  LEFT JOIN tconnect_products_categories as pc ON p.product_id = pc.product_id 
  LEFT JOIN tconnect_categories as c ON c.category_id = pc.category_id 
WHERE 
  1 
  AND pc.category_id IN (244) 
  AND p.status = 'A' 
  AND c.status = 0 
  AND p.parent_product_id = 0

Query time 0.00092

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.010331822,
    "nested_loop": [
      {
        "table": {
          "table_name": "c",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "p_category_id"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["category_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "pc",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "pt"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["category_id"],
          "ref": ["const"],
          "loops": 1,
          "rows": 5,
          "cost": 0.001481892,
          "filtered": 100,
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["tconnect.pc.product_id"],
          "loops": 5,
          "rows": 1,
          "cost": 0.00884993,
          "filtered": 91.04938507,
          "attached_condition": "p.parent_product_id = 0 and p.`status` = 'A'"
        }
      }
    ]
  }
}

Result

product_id
118
119
121
123