SELECT 
  FOUND_ROWS()

Query time 0.00009

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "No tables used"
    }
  }
}

Result

FOUND_ROWS()
0