SELECT 
  FOUND_ROWS()

Query time 0.00031

JSON explain

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

Result

FOUND_ROWS()
1