SELECT 
  FOUND_ROWS()

Query time 0.00064

JSON explain

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

Result

FOUND_ROWS()
0