SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6cdca08924bd81991138c0476b43721af13c17940fb056fc377be96336574cd' 
  AND token = 'tK7h9nEsCh0CdscrmKPw0yKbLABI+1onOGrfQ31/5No=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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