SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd242aadcd61059c4978186d2a40fbf27472f787ae4841c2a2a7f39eb775afc62' 
  AND token = 'DS/8td383hdb0xG8xDlkEFWZt0OfodmxaKcHULvgCH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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