SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5364844ae4a50d88f893fc90055755e5b83362e48134f0ed55cca271a9f28c31' 
  AND token = 'JBxKNDMvbbC+lyJf12o754SFM3chrkibAe2pScYWEow=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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