SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '332496f319c2afd4afef7f504cb57597e21bd0ee07b1474ee6cef1986919ea53' 
  AND token = 'I5v0cqInFz05QYdh7EZ44mDX3jjZepRscCGLjupKqh0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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