SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '316692100fefd431fbcf7337c7d79d52563ff522bc268a7cfce38e812a35c521' 
  AND token = '5YstIYi9N51mwBedjUlaGBKsf1Y7mGa6qFxMcxigqMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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