SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f001780548c0d1d53180ed518e061709cddb547805b1b958af3e6b14b930d16' 
  AND token = 'ZH5Rm9emF3y5cbWUNjaXGEzeWA43X4mb9OC++SWVvhY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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