SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21fff28d8b09b62282023f33a3329fa5eaeb864305306d5a72db26f814363e28' 
  AND token = 'Ls4YeoC/Y+SA/2spX8uv2Q4iArmruI7aGO5hvVroMHc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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