SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d33c341fb49e949d152ce4307b9f1a2177643b8afb9cd81f58fd446d234a25d' 
  AND token = 'Vz1Kew/wMRuaTNaSB+ZVngdqAo75OcttvUSZZcFYStg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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