SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd52eec225632e9db4e5f09eee16668dea37fed1b7705a252ac224af99388ad' 
  AND token = 'D1tM/7Vy5iwWbVUGaXPlkrFys9qPqEX2h/L1xIVwNGM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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