SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '029fc59dfca286e594b8e1842b33574d9ba4551924609e79d535fa0db9d3dd2b' 
  AND token = 'zTeeYe44oFOUUlRkN/gZUROeDGYwSdD7UbmmPDUXL44=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}