SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '316da42a90e5dcc1d759390f4b77cac4a31521d7d74908c706c7889e905786bf' 
  AND token = 'ukXXeOOGhRWxjB7yrJk9VGEPGDLyndPVoDYtBgOQB8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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