SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd540eefa1020cd3cdf94db4bf4e215a2ae3f71d33ef3f4610eb5375d10960cb3' 
  AND token = '4mTtGqRIHrJGDaTRNCmLoW+hvtCqpN0lH6c+T69ghYs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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